package entity;


/**
 * @author lishunlin110
 * @version 1.0
 * @description: 行李信息实体类
 * @date 2021/9/16 15:51
 */
public class Luggage {
    private double Length;
    private double width;
    private double height;
    private double weight;
    private String type;

    public Luggage() {
    }

    public Luggage(double length, double width, double height, double weight, String type) {
        Length = length;
        this.width = width;
        this.height = height;
        this.weight = weight;
        this.type = type;
    }

    public double getLength() {
        return Length;
    }

    public void setLength(double length) {
        Length = length;
    }

    public double getWidth() {
        return width;
    }

    public void setWidth(double width) {
        this.width = width;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Luggage{" +
                "Length=" + Length +
                ", width=" + width +
                ", height=" + height +
                ", weight=" + weight +
                ", type='" + type + '\'' +
                '}';
    }
}
